package cn.edu.neusoft.yuejian.service;

import java.util.List;

import cn.edu.neusoft.yuejian.bean.activity;
import cn.edu.neusoft.yuejian.bean.user;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/10/10.
 */

public interface userservice {
    @GET("/workout/api.php/login")
    Call<user> login(
            @Query("tel") String tel,
            @Query("password") String password
    );
    @GET("/workout/api.php/Reg")
    Call<user> Reg(
            @Query("tel") String tel,
            @Query("password") String password
    );
}
